package com.ynb.lighterbuffer;

public class ByteSchema implements ISchema<Byte>{
	@Override
	public void serialize(Byte o,BinaryWriter writer) throws Exception{
		writer.writeByte(o);
	}
	@Override
	public Byte deSerialize(Class<Byte> type,BinaryReader reader) throws Exception{
		return reader.readByte();
	}
}
